package com.myd;


import org.glassfish.jersey.server.ResourceConfig;
import org.springframework.context.annotation.Configuration;

@Configuration
public class JerseyConfig extends ResourceConfig {

    /**
     * 扫描com.myd.controller包，使其识别JAX-RS注解
     */
    public JerseyConfig() {
        packages("com.myd.controller");
    }

}
